package com.aiju.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author: 佐为
 * @date: 2016-11-25 11:55
 * @version: V1.0
 * @Description: 商品分类
 */
public class GoodsType implements Serializable{

    private String id;                      //商品分类ID
    private String name;                    //商品分类名称
    private String shopId;                  //段铺ID
    private String createDate;              //商品分类创建时间
    private String modifyDate;              //商品分类修改时间
    private List<Good> goodsList;            //分类下的商品

    //业务需要
    private boolean seleted;                //是否选中
    private List<Good> selectGoods;         //分类下要删除的商品

    public GoodsType() {
        goodsList = new ArrayList<>();
        selectGoods = new ArrayList<>();
    }

    //=========get set=========
    public boolean isSeleted() {
        return seleted;
    }

    public void setSeleted(boolean seleted) {
        this.seleted = seleted;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public List<Good> getSelectGoods() {
        return selectGoods;
    }

    public void setSelectGoods(List<Good> selectGoods) {
        this.selectGoods = selectGoods;
    }

    public List<Good> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<Good> goodsList) {
        this.goodsList = goodsList;
    }

    public String getId() {
        return id;
    }

    public int getIdInt() {
        return Integer.valueOf(id);
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

}
